package org.groupg.project.processManager;

import lombok.Data;

import java.util.Map;

@Data
public class ProcessConfig {
    private String name;
    private String startCommand;
    private String stopCommand;
    private String workingDirectory;
    private Map<String, String> environment;

    // 从JSON/YAML文件加载配置
    public static ProcessConfig loadFromFile(String configPath) {
        // 实现配置加载逻辑
        return new ProcessConfig();
    }

    // getters and setters...
}